home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
manage
/
bconfg.arc
/
BCONFIG.DOC
< prev
next >
Wrap
Text File
|
1989-11-16
|
7KB
|
150 lines
┌─────────────────────┐
│ BConfig 1.2 │
│BDEBUG config utility│
│ copyright (C) 1989 │
│ Jeff Bowles │
└─────────────────────┘
BCONFIG is a utility that allows you to customize the default
states of the BDEBUG debugging program. You can set the colors, window
positions, window size, sleep/wake state, and the single/doublestrike
state. There is also an "animate" mode, which allows you to watch
BDEBUG show each call at a selected rate, and stop on any interesting
calls by hitting a key.
BCONFIG can then write these defaults back out to your copy of
BDEBUG.COM. The next time you load BDEBUG, the defaults you chose will
already be set.
**********
Usage is fairly straightforward if you have used BDEBUG before; the
menu looks about the same, and the keys work about the same.
You will see a representation of the BDEBUG call window whenever
you select the Window Size or Window Position options. Feel free to
move the window around and resize it until it looks good to you. The
same holds for the menu window; a representative menu window can be
zoomed around the screen with the arrow keys. Home, End, PgUp, PgDn and
the 'center 5' key also can be used to move and resize windows. These
act as diagonal movement keys.
Use F5 and F6 to set the foreground and background colors when the
selection bar is on any of the three "Color" options.
Move the selection bar to the "Single" / "Double" option. By
pressing enter repeatedly, you will cycle between SingleStrike,
DoubleStrike, and Animate modes. In Animate mode, the left and right
arrows will adjust the relative speed of animation, with 00 being most
rapid, and 99 being slowest.
Press <ENTER> when the selection bar is on the CLONE option, and
BCONFIG will look for your copy of BDEBUG in the current directory or
along the search path. It will write your preferences directly onto the
patch areas of BDEBUG.
If you clone BDEBUG with new colors or sizes or whatever, you may
not see those changes reflected in the operation of BDEBUG until you
reload BDEBUG. This means that you may have to unhook BDEBUG and then
reload it to see your changes.
During operation of the newly cloned BDEBUG, all will be the same as
usual with the exception of the Animate mode. In the Animate mode,
BDEBUG will not stop after each function call (assuming you're in
SingleStrike). Instead, it will show the call and wait for a brief time
before going on with the application program. If you want to freeze a
particular call for closer inspection, hit a key while the BDEBUG window
is on the screen. Hit another key to continue operation.
┌─────────────────────┐
│ BConfig 1.2 │
│BDEBUG config utility│
│ copyright (C) 1989 │
│ Jeff Bowles │
└─────────────────────┘
You might wonder why BDEBUG.COM is included in the ARC file. I
have added a few btrieve error messages that were not around at the time
Jacob Gafny wrote BDEBUG. I also fixed a couple small spelling errors.
This patched version of will display the name BDEBUG² at load-time, in
case you ever need to differentiate the two versions. BCONFIG will not
fix the spelling errors or install the new error messages, so use the
BDEBUG from the ARC if you want these changes.
The source code is included for anyone interested. You will need
Turbo Pascal 5.0 and Turbo Professional Tools to recompile the source.
Except for the animation code, BCONFIG doesn't really do anything fancy.
It is just a gaudy shell to patch a few bytes in BDEBUG.COM. You could
do the same thing with Norton Utility or Debug or the like in about two
minutes, but it wouldn't be quite as much fun.
The bytes that are patched and their functions are found in
BDEBUG.COM at the following offsets: (zero being the first byte of the
file)
offset range function
------------------------------------------------------------------
$0F5F patched area for animation code (59 bytes)
$127F 0 - xx Top row of BDEBUG call window
$1280 0 - xx Left column of call window
$1281 $0B - xx Vertical size of call window
$1282 $1F - xx Horizontal size of call window
$1283 $00 - $01 SingleStrike - DoubleStrike
$26D5 $00 - $01 Asleep - Awake
$3A18 $00 - $7F BDEBUG call window attribute
$3CFB $00 - $7F BDEBUG menu attribute
$3ADB $0000 - $0F9E Word offset of BDEBUG menu on screen
$3D18 $0000 - $0F9E Word offset of BDEBUG menu selection bar
$3D2E $00 - $7F BDEBUG menu selection bar attribute
Credits: BCONFIG was written by me.
BDEBUG was written by Jacob Gafny
Turbo Pascal is a trademark of Borland.
Turbo Professional is a trademark of TurboPower Software.
Norton Utility is a trademark of Peter Norton Computing, Inc.
License: BCONFIG 1.2 is (C) copyright 1989 by Jeff Bowles. However,
anyone may use it in any way, as long as the copyright notice
remains intact, and only complete, unmodified copies of the
entire archive file are distributed.
Me: I can be reached for questions, comments, etc. at the following:
Jeff Bowles Or leave message for
1890 N. 4th St. #2A me on CompuServe.
Columbus, OH 43201 (CIS 76515,3433)
(614) 294-8435
┌─────────────────────┐
│ BConfig 1.2 │
│BDEBUG config utility│
│ copyright (C) 1989 │
│ Jeff Bowles │
└─────────────────────┘
Version History:
11/16/89 1.2 Added ability to move the main BDEBUG menu. Removed
some redundant code. Put a QUIET define in the source
for those who hate squawky programs; added a few
noises for those who do. Added monochrome detection,
so no "invisible" color combinations can occur.
05/17/89 1.1 Added animation to BDEBUG, cosmetic changes to source
code & documentation.
04/27/89 1.0 Original version; allows user to customize BDEBUG with
colors, window size & location, and desired toggle
modes.